package com.ebt.m.proposal_v2.dao.request;

import com.ebt.m.proposal_v2.utils.Utils;

import java.util.HashMap;
import java.util.Map;

/**
 * 计划书语音
 *
 * @author archer.qi
 *         Created on 2017/5/18.
 */
public class ParamProposalTap {
    /* 语音类型*/
    public int type;
    /* 语音文件上传到服务器后返回的id*/
    public String content;
    /* 时长*/
    public long duration;
    /* 语音ID，上传到服务端后返回的ID*/
    public String fileId;

    @Override
    public String toString() {
        Map<String, Object> mapper = new HashMap<>();
        mapper.put("type", type);
        mapper.put("content", content);
        mapper.put("duration", duration);
        mapper.put("fileId", fileId);
        return Utils.toString(getClass().getSimpleName(), mapper);
    }
}
